<?php

return [
    [
        'name' => 'ini',
        'title' => '客户端配置',
        'type' => 'array',
        'value' => [
            'name' => '新零售商城',
            'logo' => '/assets/addons/wanlshop/img/common/logo.png',
            'guide_logo' => '/assets/addons/wanlshop/img/common/wanlian4@2x.png',
            'copyright' => '2022 深圳前海万联科技有限公司',
            'urlschemes' => 'wanlshop',
            'appid' => '__UNI__WANLSHOP',
            'package_name' => 'com.youname.www',
            'cdnurl' => 'https://donghuomu.jiuhuanmall.com',
            'appurl' => 'https://donghuomu.jiuhuanmall.com/api',
            'socketurl' => 'wss://donghuomu.jiuhuanmall.com',
            'debug' => 'N',
        ],
        'rule' => '',
        'msg' => '',
        'tip' => '客户端参数配置',
        'ok' => '',
        'extend' => '',
    ],
    [
        'name' => 'sdk_amap',
        'title' => '高德地图SDK配置',
        'type' => 'array',
        'value' => [
            'amapkey_web' => '5348af2df12e48caf9b369ff1770798b',
            'amapkey_ios' => '41452fdc958cbc597bfd84cf54d4c9e8',
            'amapkey_android' => 'f9ec814bddbda24fe76c5ff0162b4a08',
        ],
        'rule' => '',
        'msg' => '',
        'tip' => '高德地图SDK参数配置',
        'ok' => '',
        'extend' => '',
    ],
    [
        'name' => 'sdk_qq',
        'title' => '腾讯开放SDK配置',
        'type' => 'array',
        'value' => [
            'qq_appid' => '',
            'gz_appid' => '',
            'gz_secret' => '',
            'gz_token' => '',
            'gz_aeskey' => '',
            'gz_debug' => '0',
            'gz_loglevel' => 'debug',
            'gz_callback' => '/wanlshop/user/third',
            'gz_notify_url' => '/wanlshop/callback/notify/type/jssdk',
            'wx_appid' => 'wxc0959d373be34b18',
            'wx_appsecret' => '159c4d16740dd34412c082c177610745',
            'wx_universal_links' => 'https://wanlshop.com/',
//            'mch_id' => '1335212901',//maimeng商户号
            'mch_id' => '1663634098',//东火木商户号
            'key' => 'JcsL9via9fZ1qRlywB3Uo6Df1yqAmcFq',//v2密钥
//            'key' => 'vfZyRVF0vWPwD0fZmRKtR00WXHqVMWIX',//v3密钥
            'notify_url' => '/wanlshop/callback/notify/type/wechat',
            'cert_client' => '/addons/wanlshop/certs/dhm_wx_apiclient_cert.pem',
            'cert_key' => '/addons/wanlshop/certs/dhm_wx_apiclient_key.pem',
        ],
        'rule' => '',
        'msg' => '',
        'tip' => '腾讯开放SDK参数配置',
        'ok' => '',
        'extend' => '',
    ],
    [
        'name' => 'sdk_alipay',
        'title' => '支付宝SDK配置',
        'type' => 'array',
        'value' => [
            'app_id' => '2021004110601566',
            'notify_url' => '/wanlshop/callback/notify/type/alipay',
//            'return_url' => '/wanlshop/callback/notify',
            'return_url' => '',
            'private_key' => 'MIIEowIBAAKCAQEAzWiqCrRq85h7ng+y+N3XnJKKEGEWqPF2x7kwjrTvuuNMNBGNXsCa3yMFcHIWfhx8e7j55h7fizkvwLbXVKw4EHpzKjt5+s6IfhpN7NPnz55sBoAmQJNe44BQfOzO2YVZuYIsH5qpn68KsKxW/gROVZ2puRBKYLUw+7uzkIE1oD/9cipTIugf8RR+JqvbGJkGHIg/oO7APSHJXHL4B79GCAHSbl31WYgCjg4Pz+pbOFwsymciFekpizpilcrORiunABMJmvzFewnH3/azpMvvMtm+B17G9ogRrh00YZ8j05IqpC/csNdubK8755AcDKQe3zy18CbfJPjcrFu7Y7oztQIDAQABAoIBAAt1c0b1maHNN9gxeAJ6HbUWV61iPSlfjwjFQ/gyD82VMIMXF5PZmson4f3L34VZgXhFcWts/Xt+zTMrAAgxM094BUSt3LgpHWQrg31atOvYIp6aN4gSsJBwcA0ICOIJll/K6zs4HY5S7X29n3y8MMKF8Rnp1rxeX0Ury3CcRKmTzpjZdfXv8g4RhjwCHESvv9JL8BfcoCK9F5MNUCCs5fsoT2JcLVec+uPnLC02trgzd2mHBUghg85DBCfLwZ+S55f5etyvO/I5QrRy9NMx8tLUnLy9M9pqcy0BMSE6SCep6rIWijHQ/4EnD5L9sfjYobLTMIL9rwlAcuFxwMSWhmECgYEA+knN3GnKinCPwW/Om0dNM8LnsUM6yBpwxVGavD4uH9e/PvoDC/aP8FczG7FxjKSI4wcBmXfn4IBI/w9ggwqEpdhrf5JeUGG28pNmmxBKxGNMTFDzpUvCP5d94G8A+Ydw4a1JI7L+7bknBl1azvWD/va44fClI9mReSeS9Ffojz8CgYEA0hisF4kWTWDl6AVDvfDx4MV6S//Sx3HeycYpPH0IABe7ZVVLzsr/vQF+hOWxG/UkimTWNlS002vvifrwE4rhUi29v2D615ZwLWgs2xcceXX2yZDAPJULc3T8cpaCnq10lfz6B2QiWnVz/fBZ7NektTujhkLaqFK44ou9+rLM9AsCgYEA7bo8NialomjXoju4WfSXd5qgxtW8d2PlyQWBm1rUJJqfpAmD61D91qJ8gMlBuPxuqHR3KHWjYLF4pArO+Kh85alyMXGs81xckHtA8fe/jFlklvgs88vJbO1POmU0382tgi09UxMo4FMEph71qa24+esOIEyaDjsQ2aqlAkCdO7ECgYAMNFCy4UzBW/KfAsdHnlp+oxoSlh7JZSz67Z7xm5W+Y6KIJWdM8O/gK9kMoUcjh58Cxw7Ggy8p5Og6TLBrgjLKkkumdVy870k+6gFJDNOjnp2iYd0457ONlmsfwOx/iTXvjI19pmx0csQ1KSQgJPq1aGx8XR/UjVGeH13+1SogtwKBgHrWbDT3Go+wK9I+RinssbBKhWiypDDWvmaWcBt4RZt333lKBWO4FbWx3vWUK2DJ7I79Q95ccD6zkue3JuTUOr7ne0IHdIqfB1Z4JSv7QladfC0ZAyzH8D1CPw3xeh9zXXRsIQX+tPeETTgRCIrdpqvRWdvnlx8s21MSl6cUHjwd',
            'app_cert_public_key' => '/addons/wanlshop/certs/appCertPublicKey.crt',
            'ali_public_key' => '/addons/wanlshop/certs/alipayCertPublicKey.crt',
            'alipay_root_cert' => '/addons/wanlshop/certs/alipayRootCert.crt',
        ],
        'rule' => '',
        'msg' => '',
        'tip' => '支付宝SDK参数配置',
        'ok' => '',
        'extend' => '',
    ],
    [
        'name' => 'sdk_weibo',
        'title' => '微博开放SDK配置',
        'type' => 'array',
        'value' => [
            'appkey' => '35********94',
            'appsecret' => '0a********************************7f',
            'redirect_uri' => '/wanlshop/callback/weibo',
        ],
        'rule' => '',
        'msg' => '',
        'tip' => '微博开放SDK参数配置',
        'ok' => '',
        'extend' => '',
    ],
    [
        'name' => 'kuaidi',
        'title' => '快递100 SDK',
        'type' => 'array',
        'value' => [
            'secretKey' => 'gm********34',
            'callbackUrl' => '/wanlshop/callback/kuaidi',
        ],
        'rule' => '',
        'msg' => '',
        'tip' => '快递100 SDK参数配置',
        'ok' => '',
        'extend' => '',
    ],
    [
        'name' => 'h5',
        'title' => 'H5客户端',
        'type' => 'array',
        'value' => [
            'domain' => 'https://m.wanlshop.com',
            'title' => '新零售电商平台',
            'router_mode' => 'hash',
            'router_base' => './',
            'https' => 'N',
            'qqmap_key' => 'V3JBZ-*************-2TBMN',
        ],
        'rule' => '',
        'msg' => '',
        'tip' => 'H5客户端配置',
        'ok' => '',
        'extend' => '',
    ],
    [
        'name' => 'mp_weixin',
        'title' => '微信小程序',
        'type' => 'array',
        'value' => [
            'appid' => 'wx****************849a',
            'appsecret' => '45********************************67',
            'scope_userLocation' => '演示定位能力',
        ],
        'rule' => '',
        'msg' => '',
        'tip' => '微信小程序配置',
        'ok' => '',
        'extend' => '',
    ],
    [
        'name' => 'mp_alipay',
        'title' => '支付宝小程序',
        'type' => 'array',
        'value' => [
            'appid' => '20**********76',
        ],
        'rule' => '',
        'msg' => '',
        'tip' => '支付宝小程序配置',
        'ok' => '',
        'extend' => '',
    ],
    [
        'name' => 'mp_baidu',
        'title' => '百度小程序',
        'type' => 'array',
        'value' => [
            'appid' => '',
            'appsecret' => '',
        ],
        'rule' => '',
        'msg' => '',
        'tip' => '百度小程序配置',
        'ok' => '',
        'extend' => '',
    ],
    [
        'name' => 'mp_toutiao',
        'title' => '头条小程序',
        'type' => 'array',
        'value' => [
            'appid' => '',
            'appsecret' => '',
        ],
        'rule' => '',
        'msg' => '',
        'tip' => '头条小程序配置',
        'ok' => '',
        'extend' => '',
    ],
    [
        'name' => 'mp_qq',
        'title' => 'QQ小程序',
        'type' => 'array',
        'value' => [
            'appid' => '11*****49',
            'appsecret' => 'EV***************HX',
        ],
        'rule' => '',
        'msg' => '',
        'tip' => 'QQ小程序配置',
        'ok' => '',
        'extend' => '',
    ],
    [
        'name' => 'style',
        'title' => '样式配置',
        'type' => 'array',
        'value' => [
            'category_style' => '4',
            'find_nav_color' => '#ff4632',
            'find_font_color' => 'light',
            'cart_nav_image' => '',
            'cart_nav_color' => '',
            'cart_font_color' => '',
            'groups_nav_image' => '/assets/addons/wanlshop/img/show/grueps-top-bg3x.png',
            'groups_nav_color' => '#fed295',
            'groups_font_color' => 'dark',
            'user_nav_color' => '#ffeccc',
            'user_nav_image' => '/assets/addons/wanlshop/img/user/top_bg.png',
            'user_bg_color' => '#ffeccc',
            'user_bg_image' => '/assets/addons/wanlshop/img/user/user_bg.png',
            'user_font_color' => 'dark',
        ],
        'rule' => '',
        'msg' => '',
        'tip' => 'App样式配置',
        'ok' => '',
        'extend' => '',
    ],
    [
        'name' => 'config',
        'title' => '动态客户端配置',
        'type' => 'array',
        'value' => [
            'store_audit' => 'Y',
            'refund_switch' => 'Y',
            'comment_switch' => 'Y',
            'tel_phone' => '0775-12345678',
            'working_hours' => '09:00~22:00',
            'shop_document' => '',
            'shop_qun' => '',
            'user_agreement' => '153',
            'privacy_protection' => '154',
            'help_category' => '1',
            'new_category' => '2',
            'sys_category' => '4',
            'auth_reply' => '欢迎使用在线客服',
            'not_online' => '[汗] 非工作时间8:00-22:00 或客服繁忙！请稍后再试~',
            'service_initial' => '您好 [微笑] 请用一句话简短描述问题~',
            'versionCode' => '111',
            'warn_time' => '1',
        ],
        'rule' => '',
        'msg' => '',
        'tip' => 'App参数配置',
        'ok' => '',
        'extend' => '',
    ],
    [
        'name' => 'order',
        'title' => '订单配置',
        'type' => 'array',
        'value' => [
            'cancel' => '3',
            'receiving' => '15',
            'comment' => '7',
            'customer' => '7',
            'autoagree' => '3',
            'returntime' => '7',
            'receivingtime' => '7',
            'nopaynote' => '1',
        ],
        'rule' => '',
        'msg' => '',
        'tip' => '订单参数配置',
        'ok' => '',
        'extend' => '',
    ],
    [
        'name' => 'find',
        'title' => '发现页配置',
        'type' => 'array',
        'value' => [
            'app_switch' => [
                'new' => 'new',
                'live' => 'live',
                'video' => 'video',
                'want' => 'want',
                'show' => 'show',
            ],
            'mp_switch' => [
                'new' => 'new',
                'live' => 'live',
                'video' => 'video',
                'want' => 'want',
                'show' => 'show',
            ],
            'h5_switch' => [
                'new' => 'new',
                'live' => 'live',
                'video' => 'video',
                'want' => 'want',
                'show' => 'show',
            ],
            'wechat_switch' => [
                'new' => 'new',
                'live' => 'live',
                'video' => 'video',
                'want' => 'want',
                'show' => 'show',
            ],
            'personalExamine_switch' => 'Y',
            'allExamine_switch' => 'Y',
        ],
        'rule' => '',
        'msg' => '',
        'tip' => '订单参数配置',
        'ok' => '',
        'extend' => '',
    ],
    [
        'name' => 'live',
        'title' => '直播配置',
        'type' => 'array',
        'value' => [
            'sslSwitch' => 'N',
            'transTemplateSwitch' => 'Y',
            'authSwitch' => 'Y',
            'liveDomain' => 'live.jiuhuanmall.com',
            'liveKey' => 'hV6B0RZ0jT15B5GE',
            'liveCnd' => 'live.jiuhuanmall.com',
            'pushDomain' => 'rtmp.jiuhuanmall.com',
            'pushKey' => '3j174Rm7vxaD8c1p',
            'builderTime' => '60',
            'appName' => 'donghuomu',
            'transTemplate' => 'lhd-v',
        ],
        'rule' => '',
        'msg' => '',
        'tip' => '订单参数配置',
        'ok' => '',
        'extend' => '',
    ],
    [
        'name' => 'video',
        'title' => '视频配置',
        'type' => 'array',
        'value' => [
            'accessKeyId' => 'LT****************Gu',
            'accessKeySecret' => 'jw****************Lrq',
            'workflowId' => '134****************da41',
            'privateKey' => 'PHl****************Tyt',
            'regionId' => 'cn-shanghai',
        ],
        'rule' => '',
        'msg' => '',
        'tip' => '视频参数配置',
        'ok' => '',
        'extend' => '',
    ],
    [
        'name' => 'withdraw',
        'title' => '提现配置',
        'type' => 'array',
        'value' => [
            'state' => 'Y',
            'minmoney' => '100',
            'monthlimit' => '2',
            'servicefee' => '6',
        ],
        'rule' => '',
        'msg' => '',
        'tip' => '商城提现参数配置',
        'ok' => '',
        'extend' => '',
    ],
    [
        'name' => 'redis',
        'title' => 'Redis配置',
        'type' => 'array',
        'value' => [
            'host' => '127.0.0.1',
            'port' => '6379',
            'password' => '',
            'select' => '0',
            'timeout' => '0',
            'persistent' => 'N',
        ],
        'rule' => '',
        'msg' => '',
        'tip' => 'Redis参数配置',
        'ok' => '',
        'extend' => '',
    ],
    [
        'name' => '__tips__',
        'title' => '温馨提示',
        'type' => 'string',
        'content' => [],
        'value' => '不需要此处配置任何参数，请在 [多用户商城] - [客户端管理]和[系统管理] 中管理配置',
        'rule' => '',
        'msg' => '',
        'tip' => '',
        'ok' => '',
        'extend' => '',
    ],
    [
        'name' => 'gift',
        'title' => '旧物换购',
        'type' => 'array',
        'content' => [],
        'value' => [
            'mulriple' => '2.2',
            'address' => '江苏省/淮安市/涟水县/经济开发区祥云路2号韵达快递西边集装箱',
            'mobile' => '15061694727',
            'username' => '左卫星',
        ],
        'rule' => '',
        'msg' => '',
        'tip' => '',
        'ok' => '',
        'extend' => '',
    ],
    [
        'name' => 'template',
        'title' => '商品详情前置模板',
        'type' => 'array',
        'content' => [],
        'value' => [
            'content' => '1、所有商品买时多少金额，退时就退多少金额，想当于交保证金免费使用'."\r\n"
                .'2、全款购买，过七天无理由退货后在回购中一键提现可提现，提现金额是购买时金额的40%，待商品不再使用还可按购买价回购。'."\r\n"
                .'3、购买商品付款时付款页面，点开旧物抵会出现已购买过的订单，可选择抵扣如无购买过的订单，还可点击右上角非平台旧件，拍照上传与商品相似旧件图片，填写正确快递单号，可抵40%购物款，待平台审核完成，在我的待支付，付完款及可发货（注：如不回寄拍照上传的旧件，此订单会被锁定不可回购）'."\r\n"
                .'4、在线下店购买东西想要免费使用，可在商城购买线下实体店价值的2.2倍及可把线下实体店商品免费提走，由平台买单（注：只限和平台协议过的线下实体店方可，要留手机号付款页面照片，用什么支付的、给商家便与和平台对帐）'."\r\n"
                .'5、在线下店购买商品也可让商家开具发票，在我的页面上传发票，待审核完成，在平台购物大于发票金额的2.2倍可抵发票金额（注：只限和平台协议过的线下店）'."\r\n"
                .'6、购买商品时可用积分抵扣，如有足够积分可不用付款直接抵扣。（注：购买商品一元一个积分，100积分抵5元使用）'."\r\n"
                .'7、优惠券购买，满100抵40、满200抵80、满300抵120以此类推'."\r\n"
                .'以上七种方式每次只能使用一种'."\r\n"
                .'8、未发货未收货退款，先点击退款提交，待审核通过后，退款.	'."\r\n"
                .'9、已发货未收货退款，先点击退款提交，待审核，待收货不影响二次销售，退货完成。'."\r\n"
                .'10、已发货已收货退货/退款，先点击退货/退款提交，待审核通过后，在次点击"我的"退款/售后，点开录入快递单号及快递公司名称，待平台收货不影响二次销售，退货完成。'."\r\n"
                .'11、置换旧件有：用完的化妆品包装、喝完的酒瓶及包装、废旧家电、儿童玩具、儿童推车、平衡车、旧电动车、旧自行车、旧手机、旧打印机、吃完的食品包装（以箱为准则）、洗护用品空瓶、厨卫用品空瓶、旧轮椅、旧代步车、旧茶具、旧书包、旧手机、老年机、旧BB机、用完的笔盒、废旧电脑、米面外包装等生活用品废旧件。（注：旧衣服、裤子、鞋子除外）。'."\r\n"
                .'12、所有解释权归商城所有。',
        ],
        'rule' => '',
        'msg' => '',
        'tip' => '',
        'ok' => '',
        'extend' => '',
    ],
    [
        'name' => 'agent',
        'title' => '分销配置',
        'type' => 'array',
        'value' => [
            'switch' => 'Y',
            'agent1' => '',
            'agent2' => '',
            'share1' => '',
            'share2' => '',
        ],
        'rule' => '',
        'msg' => '',
        'tip' => 'App参数配置',
        'ok' => '',
        'extend' => '',
    ],
];
